package cn.itsource.mapper;

import cn.itsource.domain.Combo;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.EntityWrapper;

import java.util.List;

/**
 * <p>
 * 套餐表 Mapper 接口
 * </p>
 *
 * @author bobo
 * @since 2022-12-18
 */
public interface ComboMapper extends BaseMapper<Combo> {


    default List<Combo> findByname(String name){
        EntityWrapper wrapper = new EntityWrapper<>();
        wrapper.eq("name",name);
        return this.selectList(wrapper);
    }

}
